import request from '@/utils/request'

// 查询出入库记录列表
export function listMyInOut(query) {
  return request({
    url: '/asset/inOut/my',
    method: 'get',
    params: query
  })
}

// 查询出入库记录列表
export function selectInOut(query) {
  return request({
    url: '/asset/inOut/select',
    method: 'get',
    params: query
  })
}

// 查询出入库记录列表
export function listInOut(query) {
  return request({
    url: '/asset/inOut/list',
    method: 'get',
    params: query
  })
}

// 查询出入库记录详细
export function getInOut(id) {
  return request({
    url: '/asset/inOut/' + id,
    method: 'get'
  })
}

// 新增出入库记录
export function addInOut(data) {
  return request({
    url: '/asset/inOut',
    method: 'post',
    data: data
  })
}


